red

public Color.Builder red(float red)

Sets the red channel value in the 0..1 range.

Return

this builder

Parameters

red

the red channel value

Throws

when the red is out of the 0..1 range